WP_debugAll = 9

WP_debugEvents = 6

WP_debugAllButEvents = 5

WP_debugClass = 3
WP_debugLoot = 3
WP_debugKills = 3
WP_debugQuests = 3
WP_debugReputation = 3
WP_debugRace = 2
WP_debugZones = 2
WP_debugCoords = 2
WP_debugXP = 2
WP_debugRepair = 2
WP_debugSkills = 2
WP_debugReach = 2
WP_debugFlight = 2
WP_debugSpeak = 1
WP_debugTrain = 1
WP_debugBinds = 1

WP_debugNone = 0

WP_debugLevel = WP_debugNone


function WP_Debug(level, msg)
	if level > 0 and level <= WP_debugLevel then
		WP_Message(msg)
	end
end

function WP_Message(msg)
	DEFAULT_CHAT_FRAME:AddMessage("|cFF00FFFFWoWPro:|r "..msg)
end
